<?php

namespace AppBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * P2pFcodeRate
 *
 * @ORM\Table(name="p2p_fcode_rate", indexes={@ORM\Index(name="fr_status", columns={"fr_status"}), @ORM\Index(name="u_id", columns={"u_id"})})
 * @ORM\Entity
 */
class P2pFcodeRate
{
    /**
     * @var integer
     *
     * @ORM\Column(name="u_id", type="integer", nullable=false)
     */
    private $uId = '0';

    /**
     * @var float
     *
     * @ORM\Column(name="fr_rate", type="float", precision=6, scale=3, nullable=false)
     */
    private $frRate;

    /**
     * @var boolean
     *
     * @ORM\Column(name="fr_status", type="boolean", nullable=false)
     */
    private $frStatus = '0';

    /**
     * @var integer
     *
     * @ORM\Column(name="fr_time", type="integer", nullable=false)
     */
    private $frTime;

    /**
     * @var integer
     *
     * @ORM\Column(name="adminid", type="integer", nullable=false)
     */
    private $adminid = '0';

    /**
     * @var integer
     *
     * @ORM\Column(name="fr_id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $frId;



    /**
     * Set uId
     *
     * @param integer $uId
     *
     * @return P2pFcodeRate
     */
    public function setUId($uId)
    {
        $this->uId = $uId;

        return $this;
    }

    /**
     * Get uId
     *
     * @return integer
     */
    public function getUId()
    {
        return $this->uId;
    }

    /**
     * Set frRate
     *
     * @param float $frRate
     *
     * @return P2pFcodeRate
     */
    public function setFrRate($frRate)
    {
        $this->frRate = $frRate;

        return $this;
    }

    /**
     * Get frRate
     *
     * @return float
     */
    public function getFrRate()
    {
        return $this->frRate;
    }

    /**
     * Set frStatus
     *
     * @param boolean $frStatus
     *
     * @return P2pFcodeRate
     */
    public function setFrStatus($frStatus)
    {
        $this->frStatus = $frStatus;

        return $this;
    }

    /**
     * Get frStatus
     *
     * @return boolean
     */
    public function getFrStatus()
    {
        return $this->frStatus;
    }

    /**
     * Set frTime
     *
     * @param integer $frTime
     *
     * @return P2pFcodeRate
     */
    public function setFrTime($frTime)
    {
        $this->frTime = $frTime;

        return $this;
    }

    /**
     * Get frTime
     *
     * @return integer
     */
    public function getFrTime()
    {
        return $this->frTime;
    }

    /**
     * Set adminid
     *
     * @param integer $adminid
     *
     * @return P2pFcodeRate
     */
    public function setAdminid($adminid)
    {
        $this->adminid = $adminid;

        return $this;
    }

    /**
     * Get adminid
     *
     * @return integer
     */
    public function getAdminid()
    {
        return $this->adminid;
    }

    /**
     * Get frId
     *
     * @return integer
     */
    public function getFrId()
    {
        return $this->frId;
    }
}
